dataSource {
	pooled = false
	//driverClassName = "org.hsqldb.jdbcDriver"
	driverClassName = "com.mysql.jdbc.Driver"
	username = "grails"
	password = "server"
	logSql = "true"
}
hibernate {
    cache.use_second_level_cache=true
    cache.use_query_cache=true
    cache.provider_class='org.hibernate.cache.EhCacheProvider'
}
// environment specific settings
environments {
	development {
		dataSource {
			dbCreate = "create-drop" // one of 'create', 'create-drop','update'
			// url = "jdbc:hsqldb:mem:devDB"
			url = "jdbc:mysql://localhost:3306/dissertation_dev"

		}
	}
	test {
		dataSource {
			dbCreate = "create-drop"
			//url = "jdbc:hsqldb:mem:testDb"
			url = "jdbc:mysql://localhost:3306/dissertation_test"
		}
	}
	production {
		dataSource {
			dbCreate = "update"
			//url = "jdbc:hsqldb:file:prodDb;shutdown=true"
			url = "jdbc:mysql://localhost:3306/dissertation_prod"
		}
	}
}
